package com.leo.boot.feature.merge;

@Merging
public interface Mergeable<T extends Mergeable<T>> {

    @SuppressWarnings("unchecked")
    default T merge(T other) {
        return MergingHandler.merge((T) this, other);
    }
}
